package com.llyb.lease.web.app.mapper;

import com.llyb.lease.model.entity.LabelInfo;
import com.llyb.lease.model.entity.RoomInfo;
import com.llyb.lease.web.app.vo.apartment.ApartmentItemVo;
import com.llyb.lease.web.app.vo.graph.GraphVo;
import com.llyb.lease.web.app.vo.room.RoomDetailVo;
import com.llyb.lease.web.app.vo.room.RoomItemVo;
import com.llyb.lease.web.app.vo.room.RoomQueryVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
* @author liubo
* @description 针对表【room_info(房间信息表)】的数据库操作Mapper
* @createDate 2023-07-26 11:12:39
* @Entity com.llyb.lease.model.entity.RoomInfo
*/
public interface RoomInfoMapper extends BaseMapper<RoomInfo> {


    Page<RoomItemVo> customPage(Page<RoomItemVo> page, RoomQueryVo queryVo);

    List<GraphVo> customGraphById(Long id);

    List<LabelInfo> customLabelById(Long id);

    RoomDetailVo customGetById(Long id);

    ApartmentItemVo customApartmentById(Long id);

    String minRend(Long id);

    Page<RoomItemVo> customByIdPage(Page<RoomItemVo> page, Long id);
}